package com.tangzx.builder.abc.string;

import com.tangzx.builder.abc.AbcElement;

public class Namespace extends AbcElement{
	public int nameOffset;
	public int nsKind;
	public Namespace(int name_offset, int ns_kind) {
		nameOffset = name_offset;
		nsKind = ns_kind;
	}
	
	public AbcString getString() {
		return cpool.getString(nameOffset);
	}
	
	@Override
	public String toString() {
		AbcString as = cpool.getString(nameOffset);
		return as.toString();
	}
}
